package model

const (
	//状态：1预发布，2在线，3已下线
	DataStatusWait    = 1
	DataStatusOnline  = 2
	DataStatusOffline = 3
)

const (
	//条件图片类型：1不可用，2可用
	ConditionPictureNotAvailable = 1
	ConditionPictureAvailable    = 2
)

const (
	//条件多选：1单选，2多选
	ConditionSingleSelect = 1
	ConditionMultiSelect  = 2
)

const (
	//列表排序类型 1距离 2人气 3好评
	ListSortTypeDistance   = 1
	ListSortTypePopularity = 2
	ListSortTypePraise     = 3
)

type UserInfo struct {
	Uid          int64  `json:"uid"`
	NickName     string `json:"nick_name"`
	HeaderImg    string `json:"header_img"`
	CampingCount int    `json:"camping_count"` // 露营次数
	IpLocate     string `json:"ip_locate"`     //ip归属地
}

type GenWXACodeURLReq struct {
	Scene      string  `json:"scene"`
	Page       string  `json:"page"`
	Width      *string `json:"width,omitempty"`
	AutoColor  *bool   `json:"auto_color,omitempty"`
	LineColor  *string `json:"line_color,omitempty"`
	Ishyaline  *bool   `json:"is_hyaline,omitempty"`
	EnvVersion *string `json:"env_version,omitempty"`
}
